
#ifndef EVCPE_UPLOAD_H_
#define EVCPE_UPLOAD_H_

#include "data.h"

struct evcpe_upload {
	char CommandKey[33];
	char FileType[65];
	char URL[257];
	char Username[257];
	char Password[257];
	unsigned int FileSize;
	char TargetFileName[257];
	unsigned int DelaySeconds;
	char SuccessURL[257];
	char FailureURL[257];
};

struct evcpe_upload *evcpe_upload_new(void);

void evcpe_upload_free(struct evcpe_upload *method);

struct evcpe_upload_response {
	int Status;
	char StartTime[26];
	char CompleteTime[26];
};

struct evcpe_upload_response *evcpe_upload_response_new(void);

void evcpe_upload_response_free(
		struct evcpe_upload_response *method);

#endif /* EVCPE_UPLOAD_H_ */

